<?php
include_once '../cache/htmlCache.php';
include_once '../class/psnClan.class.php';

set_time_limit(0);
$c = new HtmlCache("../cache/cached",".html", 900);//caching the page, refresh 15min
$section = $c->Create(FLAGS_NONE, 900);
if($section->GetType() == CACHE_CREATED){
	$myClan = new psnClan('yourmail','yourpassword');
	$myClan->loadRankingTrophies();
	$myClan->echoTrophiesFriends();
}
$section->Stop();
?>


